package com.bdsoft.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员-积分值变化历史记录对象 ums_growth_change_history
 * 
 * @author ruoyi
 * @date 2025-10-29
 */
public class UmsGrowthChangeHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 会员id */
    @Excel(name = "会员id")
    private Long memberId;

    /** 改变的值（正负计数） */
    @Excel(name = "改变的值", readConverterExp = "正=负计数")
    private Long changeCount;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 0-&gt;扫码；1-&gt;搜索;2-&gt;分享 */
    @Excel(name = "0-&gt;扫码；1-&gt;搜索;2-&gt;分享")
    private Integer sourceType;

    /** 删除标记（0-正常，1-删除） */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }

    public void setChangeCount(Long changeCount) 
    {
        this.changeCount = changeCount;
    }

    public Long getChangeCount() 
    {
        return changeCount;
    }

    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    public void setSourceType(Integer sourceType) 
    {
        this.sourceType = sourceType;
    }

    public Integer getSourceType() 
    {
        return sourceType;
    }

    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("changeCount", getChangeCount())
            .append("note", getNote())
            .append("sourceType", getSourceType())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
